package com.neuedu.hw022001;

public class Student {
    //成员变量
    private String stuName;
    private String stuSex;
    private int  stuAge;
    private int  StuScore;
    //行为方法
    //构造方法


    public Student() {
    }

    public Student(String stuName, String stuSex, int stuAge, int stuScore) {
        this.stuName = stuName;
        this.stuSex = stuSex;
        this.stuAge = stuAge;
        StuScore = stuScore;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuSex() {
        return stuSex;
    }

    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }

    public int getStuAge() {
        return stuAge;
    }

    public void setStuAge(int stuAge) {
        this.stuAge = stuAge;
    }

    public int getStuScore() {
        return StuScore;
    }

    public void setStuScore(int stuScore) {
        StuScore = stuScore;
    }

    @Override
    public String toString() {
        return "   " + stuName + "\t\t" + stuSex + "\t\t\t" + stuAge +"\t\t\t"+ StuScore;
    }
}
